﻿using System;
using System.Collections.Generic;
using Soft000.Model;
using Soft000.IDAL;
using Soft000.Data;
using System.Text;
using System.Data;
using System.Data.OleDb;

namespace Soft000.AccessProvider
{
    public class Total:Base<TotalInfo>,ITotal
    {
        public Total()
        {
            TableName = "total";
            KeyField = "n_id";
        }
        public TotalInfo GetTotalInfo()
        {
            string strSql = "select top 1 * from "+TableName;
            return GetInfoBySql(strSql);
        }
    }
}
